using System;
using System.Collections.Generic;
using System.Text;

namespace Wicresoft.EKA.VCenter
{
    public class ArgumentHandlingException : Exception
    {
        // Create a logger for use in this class
        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        public ArgumentHandlingException(String msg)
            : base(msg)
        {

            log.Error("Argument Error :", new Exception(msg));
            Environment.Exit(1);

        }
    }
}
